/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

import java.io.Serializable;

/**
 *
 * @author VuTienIT
 */
public class CTDHPOJO implements Serializable {
    private int MaCTDonDatHang;
    private int SoThuTu;
    private int SoLuong;
    private double GiaBan;
    private double ThanhTien;
    private int MaDonDatHang;
    private int MaPhieu;
    
    public CTDHPOJO(){
        this.MaCTDonDatHang = -1;
    }

    /**
     * @return the MaCTDonDatHang
     */
    public int getMaCTDonDatHang() {
        return MaCTDonDatHang;
    }

    /**
     * @param MaCTDonDatHang the MaCTDonDatHang to set
     */
    public void setMaCTDonDatHang(int MaCTDonDatHang) {
        this.MaCTDonDatHang = MaCTDonDatHang;
    }

    /**
     * @return the SoThuTu
     */
    public int getSoThuTu() {
        return SoThuTu;
    }

    /**
     * @param SoThuTu the SoThuTu to set
     */
    public void setSoThuTu(int SoThuTu) {
        this.SoThuTu = SoThuTu;
    }

    /**
     * @return the SoLuong
     */
    public int getSoLuong() {
        return SoLuong;
    }

    /**
     * @param SoLuong the SoLuong to set
     */
    public void setSoLuong(int SoLuong) {
        this.SoLuong = SoLuong;
    }

    /**
     * @return the GiaBan
     */
    public double getGiaBan() {
        return GiaBan;
    }

    /**
     * @param GiaBan the GiaBan to set
     */
    public void setGiaBan(double GiaBan) {
        this.GiaBan = GiaBan;
    }

    /**
     * @return the MaDonDatHang
     */
    public int getMaDonDatHang() {
        return MaDonDatHang;
    }

    /**
     * @param MaDonDatHang the MaDonDatHang to set
     */
    public void setMaDonDatHang(int MaDonDatHang) {
        this.MaDonDatHang = MaDonDatHang;
    }

    /**
     * @return the MaPhieu
     */
    public int getMaPhieu() {
        return MaPhieu;
    }

    /**
     * @param MaPhieu the MaPhieu to set
     */
    public void setMaPhieu(int MaPhieu) {
        this.MaPhieu = MaPhieu;
    }

    /**
     * @return the ThanhTien
     */
    public double getThanhTien() {
        return ThanhTien;
    }

    /**
     * @param ThanhTien the ThanhTien to set
     */
    public void setThanhTien(double ThanhTien) {
        this.ThanhTien = ThanhTien;
    }
    
    @Override
    public String toString() {
        return "MaCTDonDatHang,SoThuTu,SoLuong,GiaBan,MaDonDatHang,MaPhieu";
    }
}
